import Vue from "vue";
import Find from '@/views/Find.vue'
import My from '@/views/My.vue'
import Friends from '@/views/Friends.vue'
import Home from '@/views/Home.vue'
import Search from "@/views/Search.vue";
import VueRouter from "vue-router";
Vue.use(VueRouter)
const vueRouter = new VueRouter({
    routes: [
        { path: '/find', component: Find },
        { path: '/my', component: My },
        { path: '/friends', component: Friends },
        { path: '/home', component: Home},
        { path: '/search/:words?', component: Search},
    ],
    linkActiveClass: 'navi-link-active',
    linkExactActiveClass: 'navi-link-exact-active',
})
export default vueRouter;